# Maintainer: Dekedro <dekedro@protonmail.com>
pkgname=dwl
pkgver=0.5
pkgrel=1
pkgdesc="dwm for wayland"
url="https://codeberg.org/dwl/dwl"
arch="all"
license="GPL-3.0-or-later"
makedepends="wlroots-dev wayland-protocols"
options="!check" # no tests
subpackages="$pkgname-doc"
source="https://codeberg.org/dwl/dwl/releases/download/v$pkgver/dwl-v$pkgver.tar.gz
	xwayland.patch
	"
builddir="$srcdir/$pkgname-v$pkgver"

build() {
	make
}

package() {
	make DESTDIR="$pkgdir" PREFIX=/usr install
}

sha512sums="
7bd292559b0ecafc54bf1c1ba0c3b6b0417e8bd03bb0058f492b87295c92b50932e25621cc5f804c38ad06ffadad7bb8017872fade4a04bf617b1d4f1993aae8  dwl-v0.5.tar.gz
7c7952ede929faa137f690b3d1f44c1af4b40a3a6dac7bc3d5a377c8c454b35de1becdbbd1f3cbbde56c798f4f3bf78bc7eef4d7faa0e761d317179c072c629f  xwayland.patch
"
